#include<stdio.h>
int test(int n)
{
	int tmp = 0;
	while (n)
	{
		n /= 10;
		tmp++;
	}
	return tmp;
}
int main()
{
	int n;
	scanf("%d",&n);
	int ans = test(n);
	printf("%d", ans);
}
